<?php
/**
 * Created by PhpStorm.
 * User: dx
 * Date: 17/3/3
 * Time: 下午14:23
 */
class AhpElementBase extends Eloquent
{
    protected $table = "ahp_element_base";

    public function ahp_base_page(){
        return $this->hasOne('AhpBasePage',"id","target_page");
    }

    public function ahp_users(){
        return $this->hasOne('AhpUsers',"id","created_by");
    }

}